package com.dissertation.respository;

import com.dissertation.model.Template;
import org.springframework.data.mongodb.repository.MongoRepository;

public interface TemplateRepository extends MongoRepository<Template, String>{

    Template findByCategoryTreeNameAndCategoryLeafName(String categoryTreeName, String categoryLeafName);

}
